<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>发现</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="fonts/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="css/by_m.css" />
		<style>
			html, body{ background-color: #efeff4;}
			.mui-bar~.mui-content .mui-fullscreen{ top: 44px; height: auto;}
			.mui-pull-top-tips{ position: absolute; top: -20px; left: 50%; margin-left: -25px; width: 40px; height: 40px; border-radius: 100%;}
			.mui-bar~.mui-pull-top-tips{ top: 24px;}
			.mui-pull-top-wrapper{ width: 42px; height: 42px; display: block; text-align: center; background-color: #efeff4; border: 1px solid #ddd; border-radius: 25px; background-clip: padding-box; box-shadow: 0 4px 10px #bbb; overflow: hidden;}
			.mui-pull-top-tips.mui-transitioning{ -webkit-transition-duration: 200ms; transition-duration: 200ms;}
			.mui-pull-top-tips .mui-pull-loading{
				/*-webkit-backface-visibility: hidden;
				-webkit-transition-duration: 400ms;
				transition-duration: 400ms;*/
				margin: 0;}
			.mui-pull-top-wrapper .mui-icon, .mui-pull-top-wrapper .mui-spinner{ margin-top: 7px;}
			.mui-pull-top-wrapper .mui-icon.mui-reverse{
				/*-webkit-transform: rotate(180deg) translateZ(0);*/
				}
			.mui-pull-bottom-tips{ text-align: center; background-color: #efeff4; font-size: 15px; line-height: 40px; color: #777;}
			.mui-pull-top-canvas{ overflow: hidden; background-color: #fafafa; border-radius: 40px; box-shadow: 0 4px 10px #bbb; width: 40px; height: 40px; margin: 0 auto;}
			.mui-pull-top-canvas canvas{ width: 40px;}
			.mui-slider-indicator.mui-segmented-control{ background-color: #efeff4;}

		</style>
	</head>

	<body>
		<header class="search-nav mui-bar mui-bar-nav">
			<div class="allSearch-box-cover"></div>
			<div class="search-box">
				<a class="iconfont icon-z-code"></a>
				<a class="iconfont icon-xiaoxi mui-pull-right"><span class="mui-badge msg-point"></span></a>
				<h1 class="mui-title">发现</h1>
			</div>
		</header>
		<nav class="mui-bar mui-bar-tab">
			<a class="mui-tab-item" href="index.html">
				<span class="mui-icon iconfont icon-shouye"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item" href="all.html">
				<span class="mui-icon iconfont icon-icon04"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a class="mui-tab-item mui-active" href="find.html">
				<span class="mui-icon iconfont icon-faxian"><span class="mui-badge msg-point"></span></span>
				<span class="mui-tab-label">发现</span>
			</a>
			<a class="mui-tab-item" href="cart.html">
				<span class="mui-icon iconfont icon-gouwuche"><span class="mui-badge">9</span></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-map">
				<span class="mui-icon iconfont icon-wode"></span>
				<span class="mui-tab-label">我的</span>
			</a>
		</nav>

		<div class="mui-content">
			<div id="slider" class="mui-slider mui-fullscreen">
				<div id="sliderSegmentedControl" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
					<div class="mui-scroll">
						<a class="mui-control-item mui-active" href="#item1mobile">
				精选
			</a>
						<a class="mui-control-item" href="#item2mobile">
				穿搭
			</a>
						<a class="mui-control-item" href="#item3mobile">
				智能
			</a>
						<a class="mui-control-item" href="#item4mobile">
				生活家
			</a>
						<a class="mui-control-item" href="#item5mobile">
				美妆
			</a>
						<a class="mui-control-item" href="#item6mobile">
				女婴
			</a>
					</div>
				</div>
				<div class="mui-slider-group">
					<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
						<div id="scroll1" class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<div id="item2mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic02.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic02.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>

								</ul>
							</div>
						</div>

					</div>
					<div id="item3mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
								</ul>
							</div>
						</div>

					</div>
					<div id="item4mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic04.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic04.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic04.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic04.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
								</ul>
							</div>
						</div>

					</div>
					<div id="item5mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic03.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
								</ul>
							</div>
						</div>

					</div>
					<div id="item6mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic01.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
									<li class="mui-table-view-cell mui-media">
										<a href="javascript:;" class="">
											<img class="mui-media-object mui-pull-left" src="images/temp/tab_pic02.jpg">
											<div class="mui-media-body">
												<span class="title color-red">木床</span>
												<p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p>
												<p class="color-999 mui-pull-right">1688阅读</p>
											</div>
										</a>
									</li>
								</ul>
							</div>
						</div>

					</div>

				</div>
			</div>

		</div>
		<!--<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>-->
		<script src="js/mui.min.js"></script>
		<script src="js/mui.pullToRefresh.js"></script>
		<script src="js/mui.pullToRefresh.material.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui('nav').on('tap', 'a', function() {
				document.location.href = this.href;
			});

			//tab切换
			mui.init();
			(function($) {
				//阻尼系数
				var deceleration = mui.os.ios ? 0.003 : 0.0009;
				$('.mui-scroll-wrapper').scroll({
					bounce: false,
					indicators: true, //是否显示滚动条
					deceleration: deceleration
				});
				$.ready(function() {
					//循环初始化所有下拉刷新，上拉加载。
					$.each(document.querySelectorAll('.mui-slider-group .mui-scroll'), function(index, pullRefreshEl) {
						$(pullRefreshEl).pullToRefresh({
							down: {
								callback: function() {
									var self = this;
									setTimeout(function() {
										var ul = self.element.querySelector('.mui-table-view');
										ul.insertBefore(createFragment(ul, index, 10, true), ul.firstChild);
										self.endPullDownToRefresh();
									}, 1000);
								}
							},
							up: {
								callback: function() {
									var self = this;
									setTimeout(function() {
										var ul = self.element.querySelector('.mui-table-view');
										ul.appendChild(createFragment(ul, index, 5));
										self.endPullUpToRefresh();
									}, 1000);
								}
							}
						});
					});
					var createFragment = function(ul, index, count, reverse) {
						var length = ul.querySelectorAll('li').length;
						var fragment = document.createDocumentFragment();
						var li;
						for (var i = 0; i < count; i++) {
							li = document.createElement('li');
							li.className = 'mui-table-view-cell';
							//li.innerHTML = '第' + (index + 1) + '个选项卡子项-' + (length + (reverse ? (count - i) : (i + 1)));
							li.innerHTML = '<li class="mui-table-view-cell mui-media"><a href="javascript:;" class=""><img class="mui-media-object mui-pull-left" src="images/temp/tab_pic02.jpg"><div class="mui-media-body"><span class="title color-red">木床</span><p class="mui-ellipsis-2">青岛一木北欧全实木床1.8米现代简约白橡木床胡桃木双人大床1.5米 1.8米架子床</p><p class="color-999 mui-pull-right">1688阅读</p></div></a></li>';
							fragment.appendChild(li);
						}
						return fragment;
					};
				});
			})(mui);
		</script>
	</body>

</html>